﻿/****************
* Creat Date: 2020/08/20 11:00:07
* Creator: Quick.CodeGenerator
*****************/
using System;
using SqlSugar;
namespace BookStores.Entity
{
    /// <summary>
    /// 数据表实体类：BookStores
    /// </summary>
    [Serializable]
    public partial class BookStores : Shared.Contracts.EntityBase
    {
        private string _ID;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string ID 
        {
             get { return _ID; }
             set
             {
                AddPKChange("ID", _ID, value);
                _ID = value;
             }
        }
        private string _Book_ID;
        /// <summary>
        /// Books表主键
        /// </summary>
        public string Book_ID 
        {
             get { return _Book_ID; }
             set
             {
                AddPropertyChange("Book_ID");
                _Book_ID = value;
             }
        }
        private string _Book_Name;
        /// <summary>
        /// 书名
        /// </summary>
        public string Book_Name 
        {
             get { return _Book_Name; }
             set
             {
                AddPropertyChange("Book_Name");
                _Book_Name = value;
             }
        }
        private string _Book_Barcode;
        /// <summary>
        /// 图书条码
        /// </summary>
        public string Book_Barcode 
        {
             get { return _Book_Barcode; }
             set
             {
                AddPropertyChange("Book_Barcode");
                _Book_Barcode = value;
             }
        }
        private string _Book_SerialNo;
        /// <summary>
        /// 图书自定义编码
        /// </summary>
        public string Book_SerialNo 
        {
             get { return _Book_SerialNo; }
             set
             {
                AddPropertyChange("Book_SerialNo");
                _Book_SerialNo = value;
             }
        }
        private string _Store_ID;
        /// <summary>
        /// 
        /// </summary>
        public string Store_ID 
        {
             get { return _Store_ID; }
             set
             {
                AddPropertyChange("Store_ID");
                _Store_ID = value;
             }
        }
        private string _Store_Name;
        /// <summary>
        /// 
        /// </summary>
        public string Store_Name 
        {
             get { return _Store_Name; }
             set
             {
                AddPropertyChange("Store_Name");
                _Store_Name = value;
             }
        }
        private int? _Book_Count;
        /// <summary>
        /// 
        /// </summary>
        public int? Book_Count 
        {
             get { return _Book_Count; }
             set
             {
                AddPropertyChange("Book_Count");
                _Book_Count = value;
             }
        }
        private DateTime? _CreatedOn;
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreatedOn 
        {
             get { return _CreatedOn; }
             set
             {
                AddPropertyChange("CreatedOn");
                _CreatedOn = value;
             }
        }
        private string _CreatedBy;
        /// <summary>
        /// 
        /// </summary>
        public string CreatedBy 
        {
             get { return _CreatedBy; }
             set
             {
                AddPropertyChange("CreatedBy");
                _CreatedBy = value;
             }
        }
        private DateTime? _ModifyOn;
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ModifyOn 
        {
             get { return _ModifyOn; }
             set
             {
                AddPropertyChange("ModifyOn");
                _ModifyOn = value;
             }
        }
        private string _ModifyBy;
        /// <summary>
        /// 
        /// </summary>
        public string ModifyBy 
        {
             get { return _ModifyBy; }
             set
             {
                AddPropertyChange("ModifyBy");
                _ModifyBy = value;
             }
        }
    }
}
